package javango.core;

public abstract class User {
	
	/**
	 * Returns true if the user has the specified role.  
	 * 
	 * TODO Should this interface require that implementations allow the | syntax ORing roles (ie role1|role2)?
	 * 
	 * @param role
	 * @return
	 */
	public abstract boolean hasRole(String role);
	
	public abstract boolean isAuthenticted();
	public abstract String getFullName();
	public abstract String getUsername();
	public abstract String getLastName();
	public abstract String getFirstName();
}
